<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:75:"F:\PHPwork\w_blog\public/../application/home/view/demo/PlaceSuggestion.html";i:1505190008;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script src="__STATIC__/js/lib/jquery/1.9.1/jquery.js"></script>
</head>
<body>

    <input type="text" id="address" onkeyup="address()">
</body>
<script>
    function address(){
        $.ajax({
            type:"POST",
            dataType:"json",
            url:"<?php echo url('/getaddress'); ?>",
            data:{address:$("#address").val()},
            success:function(res){

            }
        })
    }
//    $("#address").bind("input propertychange", function() {
//
//    });
</script>
</html>